import {
	defineStore
} from 'pinia'

const useUserStore = defineStore('userStore', {
	unistorage: true,
	state: () => {
		return {
			count: 0
		}
	},
	actions: {
		double() {
			return this.count += 1
		},
	}
})

export default useUserStore